/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package project.jpdftools.ui.actionlisteners;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import project.jpdftools.ui.AddTablePanel;

/**
 *
 * @author Mido
 */
public class AddTableAction implements ActionListener {

    public void actionPerformed(ActionEvent e) {
        // make sure that the component is not visible
        if (AddTablePanel.IsComponentVisible() == false) {
            new AddTablePanel().setVisible(true);
        }
    }
}
